package cn.knightzz.mapper;

import cn.knightzz.entity.SysExamine;
import cn.knightzz.vo.ExamineCountVO;
import cn.knightzz.vo.IndexMemberVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 考核表, 主要记录党员做的好人好事 Mapper 接口
 * </p>
 *
 * @author knightzz
 * @since 2021-05-14
 */
public interface SysExamineMapper extends BaseMapper<SysExamine> {

    IPage<ExamineCountVO> selectCountExamine(Page<ExamineCountVO> page, String area, String memberName);

    List<IndexMemberVO> getMemberScoreByIndex();
}
